package top.vanchor.myblog2back.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.vanchor.myblog2back.entity.BlogSubscribe;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Ding
 * @since 2021-11-12
 */
@Mapper
public interface BlogSubscribeMapper extends BaseMapper<BlogSubscribe> {

    List<Integer> getStarIdsByUserId(@Param("userId") Integer userId);
}
